package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HomestayApply;

/**
 * 民宿申请审核Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public interface HomestayApplyMapper 
{
    /**
     * 查询民宿申请审核
     * 
     * @param applyId 民宿申请审核主键
     * @return 民宿申请审核
     */
    public HomestayApply selectHomestayApplyByApplyId(Long applyId);

    /**
     * 查询民宿申请审核列表
     * 
     * @param homestayApply 民宿申请审核
     * @return 民宿申请审核集合
     */
    public List<HomestayApply> selectHomestayApplyList(HomestayApply homestayApply);

    /**
     * 新增民宿申请审核
     * 
     * @param homestayApply 民宿申请审核
     * @return 结果
     */
    public int insertHomestayApply(HomestayApply homestayApply);

    /**
     * 修改民宿申请审核
     * 
     * @param homestayApply 民宿申请审核
     * @return 结果
     */
    public int updateHomestayApply(HomestayApply homestayApply);

    /**
     * 删除民宿申请审核
     * 
     * @param applyId 民宿申请审核主键
     * @return 结果
     */
    public int deleteHomestayApplyByApplyId(Long applyId);

    /**
     * 批量删除民宿申请审核
     * 
     * @param applyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHomestayApplyByApplyIds(Long[] applyIds);
}
